package com.sx.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author xiaobao
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
//建立员工表
public class Person {

    //员工编号
    private String id;

    //员工密码
    private String Password;

    //员工姓名
    private String name;

    //员工年龄
    private Integer age;

    //员工权限等级
    private int AuthorityLevel;

    //用于登入验证
    public Person(String id, String password) {
        this.id = id;
        this.Password = password;
    }

}
